package kr.hkit.powerjava.chapter11;

public class Parents {
	protected String name;
	protected String add;
	protected String call;
	
	public Parents() {}
	
	public Parents(String name, String add, String call) {
		this.name = name;
		this.add = add;
		this.call = call;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getAdd() {
		return add;
	}

	public void setAdd(String add) {
		this.add = add;
	}

	public String getCall() {
		return call;
	}

	public void setCall(String call) {
		this.call = call;
	}

	@Override
	public String toString() {
		return String.format("Parents [이름=%s, 주소=%s, 전화번호=%s]", name, add,
				call);
	}
	
}
